<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="tags" tagdir="/WEB-INF/tags" %>
<!DOCTYPE html>
<html>
<head>
  <%@include file="../../common/headaction.jsp" %>
  <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
  <meta http-equiv="Cache-Control" content="no-store"/>
  <meta http-equiv="Pragma" content="no-cache"/>
  <meta http-equiv="Expires" content="0"/>
  <meta name="description" content="" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
</head>

<body>

<s:if test="actionErrors.size()>0 || actionMessages.size()>0 || fieldErrors.size()>0">
  <div id="SystemErrorMessage" >
    <s:actionerror/>
    <s:actionmessage/>
    <s:fielderror/>
  </div>
</s:if>


<div id="page-content" class="page-content">
  <div class="row userRoleMenuButton">
    <form name="ysform" method="post" class="form-horizontal">
      <s:hidden name="pager.formname" value="ysform"/>
      <s:hidden name="pager.currentPageno" id="yspager_currentPageno"/>
      <div class="span6">
        <div class="row">
          <div class="span6">
            <a onclick="openEntity()" class="btn btn-success btn-xzweb">新增</a>
            <a onclick="doModify()" class="btn btn-success btn-xzweb" >修改</a>
            <a onclick="doRemove()" class="btn btn-success btn-xzweb" >删除</a>
          </div>
        </div>
      </div>
      <div class="span2 pull-right">
        <s:select list="#{'10':'10','15':'15','25':'25','50':'50','100':'100'}" name="pager.eachPageRows"  id="eachPageRows1" onchange="super_doSearch()" cssClass="input-medium" cssStyle="width: 100%;" ></s:select>
      </div>
    </form>
  </div>

  <table id="contentTable" class="table table-striped table-bordered table-hover">
    <tr>
      <th width="25"></th>
      <th width="15%">
        流程名称
      </th>
      <th width="15%">
        ACTION
      </th>
      <th width="15%">
        流程
      </th>
      <th>
        明细表
      </th>
      <th width="30%">
        主表
      </th>
    </tr>
    </thead>
    <tbody>
    <s:iterator value="resultData">
      <tr>
        <td width="25">
          <s:checkbox id="%{wid}" name="selectNode" fieldValue="%{wid}"/>
        </td>
        <td >
          &nbsp;<a href="javascript:openEntity('<s:property value="wid"/>')"><FONT color="blue"><s:property value="proname"/></FONT></a>
        </td>
        <td>
          &nbsp;<s:property value="actionname"/>
        </td>
        <td>
          &nbsp;<s:property value="process_zdmc"/>
        </td>
        <td >
          &nbsp;<s:property value="tablename"/>
        </td>
        <td >
          &nbsp;<s:property value="table_hz"/>
        </td>
      </tr>
    </s:iterator>
    </tbody>
  </table>

  <tags:pagination paginationSize="${pager.eachPageRows}" page="${pager}"></tags:pagination>
</div>
</body>
</html>
<%@include file="../../common/bottomaction.jsp" %>